package com.google.code.pdfbrick.splitter;

import java.util.ArrayList;
import java.util.List;

import com.google.code.pdfbrick.engine.command.FilePageRange;

/**
 * @author Johny Huang
 * @date 2009-3-13
 */
public class SplitCommandParams {
	
	private String srcFilePath;
	private List<FilePageRange> desFilePageRanges;


	public void addFilePageRange(final FilePageRange filePageRange) {
		if (desFilePageRanges == null) {
			desFilePageRanges = new ArrayList<FilePageRange>();
		}
		desFilePageRanges.add(filePageRange);		
	}


	public String getSrcFilePath() {
		return srcFilePath;
	}


	public void setSrcFilePath(final String srcFilePath) {
		this.srcFilePath = srcFilePath;
	}


	public List<FilePageRange> getDesFilePageRanges() {
		return desFilePageRanges;
	}


	public void setDesFilePageRanges(final List<FilePageRange> desFilePageRanges) {
		this.desFilePageRanges = desFilePageRanges;
	}
}
